<?php




namespace App\Http\Controllers;


use App\Services\Alipay;
use App\Services\Wechat;
use Illuminate\Http\Request;

class NotifyController extends Controller
{
    /**
     * 支付宝回调
     */
    public function alipay()
    {
        (new Alipay())->back();
    }

    /**
     * 微信回调
     */
    public function wechat()
    {
        (new Wechat())->back();
    }

    /**
     * 电信回调
     */
    public function ctwing(Request $request)
    {
        (new Wing())->back($request->all());
    }
}
